import Vue from 'vue'
import Router from 'vue-router'
import Apple from '@/page/Apple'
import Success from '@/page/Success'
import Edit from '@/page/Edit'
import Preview from '@/page/Preview'


Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            name: 'Apple',
            component: Apple
        },
        {
            path: '/Success',
            name: 'Success',
            component: Success
        },
        {
            path: '/Edit',
            name: 'Edit',
            component: Edit
        },
        {
            path: '/Preview',
            name: 'Preview',
            component: Preview
        }
    ]
})